import React, { Component } from 'react'

export default class A extends Component {
  render() {
    return (
      <div>
        <button
          onClick={() => {
            this.props.changeCount(1)
          }}
        >
          +1
        </button>
      </div>
    )
  }
}
